package idv.jieh.might;

import idv.jieh.commons.comm.*;
import idv.jieh.commons.sql.*;

public class MightTable extends BasicClass {

  public static enum TABLE implements TableAdapter{
    JIEH_MENU_ROOT, JIEH_MENU_NODE, JIEH_MIGHT_DETAIL
    ;

    private TableFactory factory;
    TABLE(){ factory = new TableFactory(this); }
    public TableFactory factory(){ return factory; }

  }

  //******** Start Enum COLUMN ********//
  public enum COLUMN implements ColumnAdapter {

    //CSR_CONTACT_LOG
    JMR_ID("系統代碼", SQLMaker.STR),
    JMR_NAME("系統名稱", SQLMaker.STR),
    JMR_LINK("連結路徑", SQLMaker.STR),
    JMR_PROPERTY("選單屬性", SQLMaker.STR),
    JMR_ICON_PATH("圖檔路徑", SQLMaker.STR),

    ;

    private final String value;
    private ColumnFactory factory;
    COLUMN(String s, int t) {
      value = s;
      factory = new ColumnFactory(this, t);
    }

   public String value() { return value; }
   public ColumnFactory factory(){ return factory; }


  }
}
